
<h2> Inscription </h2>
<h3>Informations personnelles:</h3>

<?php

echo $this->Form->create('User');

echo $this->Form->input('User.surname', array(
    'label' => __('Nom :')
));

echo $this->Form->input('User.name', array(
    'label' => __('Prénom :')
));

echo $this->Form->input('User.pseudo', array(
    'label' => __('Surnom :')
));

echo $this->Form->input('User.gender', array(
    'label' => __('Sexe :'),
    'options' => array(
        'M','F'
    ),
    'type' => 'radio'
));

echo $this->Form->input('User.born', array(
    'dateFormat' => 'DMY',
    'value' => 'JJ/MM/AAAA',
    'label' => __('Birthday :'),
));
echo $this->Form->input('User.email', array(
    'label' => __('Adresse Email :')
));
echo $this->Form->input('email_confirm', array(
    'label' => __('Confirmez votre email :'),
    'type' => 'email'
));
echo $this->Form->input('User.password', array(
    'label' => __('Password :')
));
echo $this->Form->input('password_confirm', array(
    'label' => __('Confirmez votre password :'),
    'type' => 'password'
));

?>

<h3>Riding Informations :</h3>

<?php
// CHANGER LE FORMULAIRE POUR SPORT
    echo $this->Form->input('User.sports', array(
        'label' => __('Sport(s) :')
    ));
    
    echo $this->Form->end('Enregistrer');
    debug($user);
    
    ?> 